home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dstedc.z / dstedc
Encoding:
Text File  |  2002-10-03  |  6.9 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))                                                          DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DSTEDC - compute all eigenvalues and, optionally, eigenvectors of a
  10.      symmetric tridiagonal matrix using the divide and conquer method
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DSTEDC( COMPZ, N, D, E, Z, LDZ, WORK, LWORK, IWORK, LIWORK,
  14.                         INFO )
  15.  
  16.          CHARACTER      COMPZ
  17.  
  18.          INTEGER        INFO, LDZ, LIWORK, LWORK, N
  19.  
  20.          INTEGER        IWORK( * )
  21.  
  22.          DOUBLE         PRECISION D( * ), E( * ), WORK( * ), Z( LDZ, * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      DSTEDC computes all eigenvalues and, optionally, eigenvectors of a
  39.      symmetric tridiagonal matrix using the divide and conquer method. The
  40.      eigenvectors of a full or band real symmetric matrix can also be found if
  41.      DSYTRD or DSPTRD or DSBTRD has been used to reduce this matrix to
  42.      tridiagonal form.
  43.  
  44.      This code makes very mild assumptions about floating point arithmetic. It
  45.      will work on machines with a guard digit in add/subtract, or on those
  46.      binary machines without guard digits which subtract like the Cray X-MP,
  47.      Cray Y-MP, Cray C-90, or Cray-2.  It could conceivably fail on
  48.      hexadecimal or decimal machines without guard digits, but we know of
  49.      none.  See DLAED3 for details.
  50.  
  51.  
  52. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  53.      COMPZ   (input) CHARACTER*1
  54.              = 'N':  Compute eigenvalues only.
  55.              = 'I':  Compute eigenvectors of tridiagonal matrix also.
  56.              = 'V':  Compute eigenvectors of original dense symmetric matrix
  57.              also.  On entry, Z contains the orthogonal matrix used to reduce
  58.              the original matrix to tridiagonal form.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))                                                          DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      N       (input) INTEGER
  75.              The dimension of the symmetric tridiagonal matrix.  N >= 0.
  76.  
  77.      D       (input/output) DOUBLE PRECISION array, dimension (N)
  78.              On entry, the diagonal elements of the tridiagonal matrix.  On
  79.              exit, if INFO = 0, the eigenvalues in ascending order.
  80.  
  81.      E       (input/output) DOUBLE PRECISION array, dimension (N-1)
  82.              On entry, the subdiagonal elements of the tridiagonal matrix.  On
  83.              exit, E has been destroyed.
  84.  
  85.      Z       (input/output) DOUBLE PRECISION array, dimension (LDZ,N)
  86.              On entry, if COMPZ = 'V', then Z contains the orthogonal matrix
  87.              used in the reduction to tridiagonal form.  On exit, if INFO = 0,
  88.              then if COMPZ = 'V', Z contains the orthonormal eigenvectors of
  89.              the original symmetric matrix, and if COMPZ = 'I', Z contains the
  90.              orthonormal eigenvectors of the symmetric tridiagonal matrix.  If
  91.              COMPZ = 'N', then Z is not referenced.
  92.  
  93.      LDZ     (input) INTEGER
  94.              The leading dimension of the array Z.  LDZ >= 1.  If eigenvectors
  95.              are desired, then LDZ >= max(1,N).
  96.  
  97.      WORK    (workspace/output) DOUBLE PRECISION array,
  98.              dimension (LWORK) On exit, if INFO = 0, WORK(1) returns the
  99.              optimal LWORK.
  100.  
  101.      LWORK   (input) INTEGER
  102.              The dimension of the array WORK.  If COMPZ = 'N' or N <= 1 then
  103.              LWORK must be at least 1.  If COMPZ = 'V' and N > 1 then LWORK
  104.              must be at least ( 1 + 3*N + 2*N*lg N + 3*N**2 ), where lg( N ) =
  105.              smallest integer k such that 2**k >= N.  If COMPZ = 'I' and N > 1
  106.              then LWORK must be at least ( 1 + 4*N + N**2 ).
  107.  
  108.              If LWORK = -1, then a workspace query is assumed; the routine
  109.              only calculates the optimal size of the WORK array, returns this
  110.              value as the first entry of the WORK array, and no error message
  111.              related to LWORK is issued by XERBLA.
  112.  
  113.      IWORK   (workspace/output) INTEGER array, dimension (LIWORK)
  114.              On exit, if INFO = 0, IWORK(1) returns the optimal LIWORK.
  115.  
  116.      LIWORK  (input) INTEGER
  117.              The dimension of the array IWORK.  If COMPZ = 'N' or N <= 1 then
  118.              LIWORK must be at least 1.  If COMPZ = 'V' and N > 1 then LIWORK
  119.              must be at least ( 6 + 6*N + 5*N*lg N ).  If COMPZ = 'I' and N >
  120.              1 then LIWORK must be at least ( 3 + 5*N ).
  121.  
  122.              If LIWORK = -1, then a workspace query is assumed; the routine
  123.              only calculates the optimal size of the IWORK array, returns this
  124.              value as the first entry of the IWORK array, and no error message
  125.              related to LIWORK is issued by XERBLA.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))                                                          DDDDSSSSTTTTEEEEDDDDCCCC((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      INFO    (output) INTEGER
  141.              = 0:  successful exit.
  142.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  143.              > 0:  The algorithm failed to compute an eigenvalue while working
  144.              on the submatrix lying in rows and columns INFO/(N+1) through
  145.              mod(INFO,N+1).
  146.  
  147. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  148.      Based on contributions by
  149.         Jeff Rutter, Computer Science Division, University of California
  150.         at Berkeley, USA
  151.      Modified by Francoise Tisseur, University of Tennessee.
  152.  
  153.  
  154. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  155.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  156.  
  157.      This man page is available only online.
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.